package cn.edu.hhtc.stsystem.struts2.main;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

/**
 * 系统主界面入口.
 * 
 * @author linyueqin
 * 
 */
@Results({ @Result(name = "sys_main", location = "/WEB-INF/content/index.jsp"), })
public class MainAction extends ActionSupport implements ModelDriven<String> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1962597309924515866L;

	@Action("/main")
	public String main() throws Exception {

		return "sys_main";
	}

	@Override
	public String getModel() {

		return null;
	}
}
